<?
if((!$data->settings->friend || $data->settings->friend->friends || true) && $data->friend->friends):?>
<h2><span><?=_('Friends')?></span></h2>
<div class="friends">
<?foreach ($data->friend->friends as $p):?>
    <? include 'apps/profile/template/mini.html'; ?>
<?endforeach;?>
</div>
<?endif;?>
